]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
messageTray: Add banner body when setting the image for a notification
authorJasper St. Pierre <jstpierre@mecheye.net>
Sat, 8 Oct 2011 21:55:21 +0000 (17:55 -0400)
committerJasper St. Pierre <jstpierre@mecheye.net>
Tue, 18 Oct 2011 04:16:25 +0000 (00:16 -0400)
We always place the banner in the body if the notification has additional
content.

https://bugzilla.gnome.org/show_bug.cgi?id=659158

js/ui/messageTray.js

index e2df316d7b7f633192329c2c4a142d811fb19ec8..75eb9f9ea012a797bbee6fd48a317eace4f96419 100644 (file)
@@ -703,6 +703,7 @@ Notification.prototype = {
         this._imageBin.opacity = 230;
         this._table.add_style_class_name('multi-line-notification');
         this._table.add_style_class_name('notification-with-image');
+        this._addBannerBody();
         this._updateLastColumnSettings();
         this._table.add(this._imageBin, { row: 1,
                                           col: 1,